<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<jsp:include page="/WEB-INF/jspf/header.jsp">
    <jsp:param name="title" value="View Details" />
</jsp:include>

<f:view>
    <h:form>
        <h:inputHidden  value="#{bankTransaction.accountId}" />
        <h:inputHidden  value="#{account.accountId}" />
        <h:inputHidden value="#{account.customerId}" />
        <h:inputHidden value="#{customer.accountId}"  />
        <h:inputHidden  value="#{customer.customerId}" />

<h:outputText rendered="#{account.initManagerViewDetails}"/>

  <h:panelGrid columns="2" >
            <h:panelGroup >
                <%@include file="/WEB-INF/jspf/menu_manager.jspf" %>
                <%@include file="/WEB-INF/jspf/customerDetails.jspf" %>
                <%@include file="/WEB-INF/jspf/customerAccounts.jspf" %>
                <!--
@include file="/WEB-INF/jspf/createAccount.jspf"  %>  -->

            </h:panelGroup>

            <h:panelGroup >
                <f:subview id="kuk" rendered="#{account.accountId!=null}" >
                    <h1>  <h:outputText value="Transactions " /></h1>
                    <h3>  <h:outputText value="Account Id: #{account.accountId}" /></h3>
                    <h3>   <h:outputText value="Account balance: #{account.balance} #{account.currency}" /></h3>
                    <%@include file="/WEB-INF/jspf/managerTransfers.jspf" %>
                </f:subview>
            </h:panelGroup>



        </h:panelGrid>
    </h:form>

    </body>
    </html>
</f:view>
